package com.yimi.policyservice.common.annotation;

import com.yimi.policyservice.dto.enums.FunctionCodeEnum;

import java.lang.annotation.*;

@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Auth {

    String value() default "";

    FunctionCodeEnum code() default FunctionCodeEnum.DEFAULT ;


}
